package MP.ASTs;

import MP.CompilationException;

public class CompStatAST extends OneStmtAST {
	public VarDeclPartAST	v;
	public StmtListAST	s;
	public CompStatAST(VarDeclPartAST var, StmtListAST stmt){
		v=var;
		s=stmt;
		v.parent=s.parent=this;		
	}
	public Object visit(Visitor v, Object o) throws CompilationException{
		return v.visitCompStatAST(this,o);
	}	
}